package com.njmt.cloud.msprovder.service;


import com.njwt.cloud.mscommon.pojo.vo.PermissionVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author <a href="mailto:xingxiaofeng@gtmap.cn">xingxiaofeng</a>
 * @date 2022-06-22
 * @desc PermissionService
 */
@Service
public interface PermissionService {
    /**
     * 根据用户id查询用户的权限
     *
     * @param id 用户id
     * @return List<PermissionVo>
     */
    List<PermissionVo> findAuthorityByUserId(String id);
}
